package com.cheer.ba.http;

/**
 * 对应后台接口
 */
public class API {

    //新生支付
    public static final String URL_APP_NEW_PAY = "https://gateway.hnapay.com/";

    public static final String NEW_PAY_TAG = "exp/signRequest.do";

    //阿里正式域名
    //用户，账户，好友
    public static final String URL_APP_USER_RELEASE = "http://www.51jiayoula.com/";
    //红包，打赏,首页
    public static final String URL_APP_REDPACKET_RELEASE = "http://www.51jiayoula.com/";
    //圈子，作品
    public static final String URL_APP_CIRCLE_RELEASE = "http://www.51jiayoula.com/";
    //晒一晒
    public static final String URL_APP_SHINE_RELEASE = "http://www.51jiayoula.com/";

    //测试地址
    //用户，账户，好友
    public static final String URL_APP_USER_TEST = "http://test.51jiayoula.com/";
    //红包，打赏,首页
    public static final String URL_APP_REDPACKET_TEST = "http://test.51jiayoula.com/";
    //圈子，作品
    public static final String URL_APP_CIRCLE_TEST = "http://test.51jiayoula.com/";
    //晒一晒
    public static final String URL_APP_SHINE_TEST = "http://test.51jiayoula.com/";


    //测试地址
    //用户，账户，好友
//    public static final String URL_APP_USER_TEST = "http://112.74.163.214/";
//    //红包，打赏,首页
//    public static final String URL_APP_REDPACKET_TEST = "http://112.74.163.214/";
//    //圈子，作品
//    public static final String URL_APP_CIRCLE_TEST = "http://112.74.163.214/";
//    //晒一晒
//    public static final String URL_APP_SHINE_TEST = "http://112.74.163.214/";

    //代表服务器
    public static final String URL_SERVER_NAME = "my-security/";
    //接口版本控制
    public static final String URL_API_VERSION = "api/v1/";

    /***************************************用户相关***********************************************/

    /**
     * 注册
     */
    public static final String REGISTER = URL_API_VERSION + "user/register";

    /**
     * 短信验证码
     */
    public static final String USER_SENDSMS = URL_API_VERSION + "user/sendSms";

    /**
     * 用户登录
     */
    public static final String USER_LOGIN = URL_API_VERSION + "user/login";

    /**
     * 忘记密码
     */
    public static final String RESET_PW = URL_API_VERSION + "user/forgotPassword";

    /**
     * 修改密码
     */
    public static final String MODIFY_LOGIN_PW = URL_API_VERSION + "user/editPassword";

    /**
     *  用户个人信息编辑修改
     */
    public static final String PERSON_INFO_UPDATE = URL_API_VERSION + "user/modify";

    /**
     *  用户签到
     */
    public static final String USER_SIGN = URL_API_VERSION + "user/userSign";
    /**
     *  我的订单
     */
    public static final String USER_ORDER = URL_API_VERSION + "user/getorderbycust";
    /**
     *  投诉与建议
     */
    public static final String USER_SUGGEST = URL_API_VERSION + "complaint/add";
    /**
     *  添加常用地址
     */
    public static final String ADD_MY_ADDRESS = URL_API_VERSION + "address/add";
    /**
     *   获得我的常用地址列表
     */
    public static final String GET_MY_ADDRESS_LIST = URL_API_VERSION + "address/list";
    /**
     *   移除我的地址
     */
    public static final String DEL_MY_ADDRESS = URL_API_VERSION + "address/del";
    /**
     *   我的地址设为默认
     */
    public static final String DEFAULT_MY_ADDRESS = URL_API_VERSION + "address/ismain";
    /**
     *   获取我的默认地址
     */
    public static final String GET_DEFAULT_ADDRESS = URL_API_VERSION + "address/listbymain";
    /**
     *   我的积分
     */
    public static final String GET_MY_POINT = URL_API_VERSION + "user/userscorelist";

    /**
     * 我的消费金额
     */
    public static final String GET_TOTAL_ORDER = URL_API_VERSION + "order/myordermoney";
    /**
     * 我的总积分数
     */
    public static final String GET_TOTAL_POINT = URL_API_VERSION + "user/myscore";

    /**
     * 企业认证列表
     */
    public static final String GET_ORG_AUTH_LIST = URL_API_VERSION + "org/list";

    /**
     * 去认证
     */
    public static final String GO_TO_AUTH = URL_API_VERSION + "org/authentication";

    /**
     * 我认证的企业
     */
    public static final String MY_AUTH_QYE = URL_API_VERSION + "org/getorgbyid";

    /**
     * 取消认证
     */
    public static final String CANCEL_AUTH_QYE = URL_API_VERSION + "org/delauthentication";

    /**
     * 查看我的交易记录
     */
    public static final String LOOK_TRADE_RECORD = URL_API_VERSION + "org/getcustlog";

    /**
     * 密码校验
     */
    public static final String CHECK_LOGIN_PW = URL_API_VERSION + "user/verifPass";
    /**
     * 查询用户信息
     */
    public static final String CHECK_USER_INFO = URL_API_VERSION + "user/getcustbyid";

    /**
     * 常量
     */
    public static final String GET_PAY_MONEY = URL_API_VERSION + "ad/getvaluebykey";
    /***************************************三方服务***********************************************/

    /**
     * 违章查询
     */
    public static final String SEARCH_BREAK_CAR = URL_API_VERSION + "ali/condition";

    /**
     * 今日油价查询
     */
    public static final String TODAY_OIL = URL_API_VERSION + "ali/todayoil";

    /**
     * 查询天气
     */
    public static final String SEARCH_WEATHER = URL_API_VERSION + "ali/queryweather";

    /***************************************支付****************************************/

    /**
     * 企业支付
     */
    public static final String QYE_PAY = URL_API_VERSION + "pay/getOrderByOrg";

    /**
     * 企业柴油支付回调
     */
    public static final String QYE_PAY_CALLBACK = URL_API_VERSION + "oilpackage/buypackagebyorg";
    /**
     * 柴油卡激活
     */
    public static final String OIL_CARD_ACTIVITY = URL_API_VERSION + "pay/getOrderByCard";

    /**
     * ping++支付
     */
    public static final String PAY_MONEY = URL_API_VERSION + "pay/getChargeByPackage";

    /**
     * 柴油批发订单下单
     */
    public static final String OIL_ORDER_SEND = URL_API_VERSION + "pay/getOrderBySupply";
    /**
     * 柴油批发回调
     */
    public static final String OIL_ORDER_CALLBACK = URL_API_VERSION + "supply/callback";

    /**
     * 待支付订单取消
     */
    public static final String CANCEL_ORDER = URL_API_VERSION + "order/ordercancel";

    /**
     * 已支付订单申请退款
     */
    public static final String ASK_BACK_MONEY_ORDER = URL_API_VERSION + "order/orderrefund";

    /**
     * 查看订单详情
     */
    public static final String LOOK_ORDER_DETAIL = URL_API_VERSION + "order/orderdetails";

    /**
     * 企业划扣
     */
    public static final String QYE_PULL_MONEY = URL_API_VERSION + "oilpackage/remittance";

    /***************************************加油啦平台接口****************************************/

    /**
     * 首页banner
     */
    public static final String HOME_BANNER = URL_API_VERSION + "ad/getBannerList";

    /**
     * 购买油卡
     */
    public static final String BUY_OIL_CARD = URL_API_VERSION + "oilpackage/buypackage";

    /**
     * 申请融资
     */
    public static final String ASK_FINACING = URL_API_VERSION + "finacing";

    /**
     * 我的油卡
     */
    public static final String MY_OIL_CARD = URL_API_VERSION + "oilpackage/mycard";

    /**
     * 申请油卡
     */
    public static final String ADD_OIL_CARD = URL_API_VERSION + "oilpackage/addmycard";

    /**
     * 绑定油卡
     */
    public static final String BIND_OIL_CARD = URL_API_VERSION + "oilpackage/bindmycard";

    /**
     * 移除油卡
     */
    public static final String DEL_OIL_CARD = URL_API_VERSION + "oilpackage/delmycard";

    /**
     * 加油卡套餐
     */
    public static final String SET_MEAL_OIL = URL_API_VERSION + "oilpackage/list";

    /**
     * 设置默认卡
     */
    public static final String SET_DEFAUL_CARD = URL_API_VERSION + "oilpackage/isMain";

    /**
     * 空卡数量
     */
    public static final String CARD_NUM = URL_API_VERSION + "oilpackage/cardCount";

    /**
     * 首次购买油卡
     */
    public static final String FIRST_BUY_CARD = URL_API_VERSION + "oilpackage/firstBuypackage";

    /**
     * 油卡变更记录
     */
    public static final String CHANGE_OIL_CARD = URL_API_VERSION + "oilpackage/findCardLog";

    /**
     * 用户油卡变更记录
     */
    public static final String CHANGE_USER_OIL_CARD = URL_API_VERSION + "oilpackage/findUserCardLog";

    /**
     * 我的套餐
     */
    public static final String GET_MY_MEALS = URL_API_VERSION + "oilpackage/myPackageList";


    /**
     * 匹配可用支付券
     */
    public static final String GET_OIL_COUPON = URL_API_VERSION + "voucher/getUseableVoucher";

    /**
     * 获得柴油批发列表
     */
    public static final String GET_OIL_SALE_LIST = URL_API_VERSION + "supply/list";

    /**
     * 获得油源列表
     */
    public static final String GET_OIL_TYPE_LIST = URL_API_VERSION + "supply/categorylist";

    /**
     * 获得油源详情
     */
    public static final String GET_OIL_DETAILS = URL_API_VERSION + "supply/details";

    /**
     * 定金计算列表
     */
    public static final String CALCULATE_MONEY = URL_API_VERSION + "supply/depositList";

    /**
     * 移除司机
     */
    public static final String DEL_DRIVER_CARD = URL_API_VERSION + "driver/del";

    /**
     * 我的司机列表
     */
    public static final String DRIVERS_LIST = URL_API_VERSION + "driver/list";

    /**
     * 添加司机信息
     */
    public static final String DRIVERS_ADD = URL_API_VERSION + "driver/add";

    /**
     * 绑定司机信息
     */
    public static final String DRIVERS_BIND = URL_API_VERSION + "driver/driverBind";

    /**
     * 获得我的卡券
     */
    public static final String GET_CARD_GROUP = "v2/voucher/getMyVoucher";

    /*
     * 获取优惠油卡信息
     */
    public static final String GET_OIL_INFO = "v2/card/getCardById";

    /**
     * 优惠油卡购买
     */
    public static final String CHECK_OIL_ORDER = "v2/card/buyCardByOpenId";

    /**
     * 获得地图上油站的位置
     */
    public static final String GET_OILADDRESS_POSITION = "";

    /***************************************运营活动接口****************************************/

    /**
     * 抽奖
     */
    public static final String LOTTERY_PRIZE = URL_API_VERSION + "activity/list";

    /**
     * 我的优惠券列表
     */
    public static final String FREE_CARD_LIST = URL_API_VERSION + "coupon/myCoupon";

    /**
     * 用户可用优惠券
     */
    public static final String USER_AVAILABLECOUPON = URL_API_VERSION + "coupon/availableCoupon";

    /**
     * 注册大礼包
     */
    public static final String USER_REGISTER_GIFT = URL_API_VERSION + "user/addCouponByRegister";

    /***************************************账本接口****************************************/

    /**
     * 查询我的账本
     */
    public static final String SEARCH_MY_BOOK = URL_API_VERSION + "accountbook/getmyaccount";

    /**
     * 添加我的账本
     */
    public static final String ADD_MY_BOOK = URL_API_VERSION + "accountbook/addaccount";

    /**
     * 移除我的账本
     */
    public static final String DEL_MY_BOOK = URL_API_VERSION + "accountbook/delaccount";

    /**
     * 我的发票
     */
    public static final String MY_INVOICE = URL_API_VERSION + "order/invoice";
    /**
     * 添加发票
     */
    public static final String ADD_MY_INVOICE = URL_API_VERSION + "order/addinvoice";

    /***************************************资讯接口****************************************/
    /**
     * 资讯列表
     */
    public static final String ARTICLE_LIST = URL_API_VERSION + "article/articlelist";

    /**
     * 评论列表
     */
    public static final String GET_COMMENT_LIST = URL_API_VERSION + "comment/commentlist";

    /**
     * 回复列表
     */
    public static final String GET_REPLY_LIST = URL_API_VERSION + "comment/replylist";

    /**
     * 删除评论或者回复
     */
    public static final String DEL_MY_COMMENT = URL_API_VERSION + "comment/delcomment";

    /**
     * 动态列表
     */
    public static final String DYNAMIC_LIST = URL_API_VERSION + "dynamic/list";

    /**
     * 标签获取动态列表
     */
    public static final String DYNAMIC_LIST_TAG = URL_API_VERSION + "dynamic/listByTag";

    /**
     * 用户操作对象 1:浏览2下载3收藏4点赞5转发
     */
    public static final String USER_OPERATION = URL_API_VERSION + "sc/operation";

    /**
     * 用户取消点赞
     */
    public static final String USER_DEL_OPERATION = URL_API_VERSION + "sc/deloperation";

    /**
     * 用户评论
     */
    public static final String USER_COMMENT = URL_API_VERSION + "comment/addcomment";

    /**
     * 用户回复
     */
    public static final String USER_REPLY = URL_API_VERSION + "comment/addreply";

    /**
     * 动态删除
     */
    public static final String DEL_DYNAMIC = URL_API_VERSION + "dynamic/delDynamic";

    /**
     * 点赞列表
     */
    public static final String GET_ZAN_LIST = URL_API_VERSION + "sc/goodlist";

    /**
     * 获得标签列表
     */
    public static final String GET_TAG_LIST = URL_API_VERSION + "dynamic/tags";

    /**
     * 动态发布
     */
    public static final String PUBLISH_DYNAMIC = URL_API_VERSION + "dynamic/addDynamic";

    /***************************************邀请分利****************************************/
    /**
     * 邀请分费获利额度
     */
    public static final String REQUEST_DISTRIBUTION = URL_API_VERSION + "distribution/invitation";
    /**
     * 获得邀请好友列表
     */
    public static final String GET_ASK_FRIENDS = URL_API_VERSION + "distribution/invitationlist";
    /**
     * 获得银行卡列表
     */
    public static final String GET_BAK_LIST = URL_API_VERSION + "bank/list";
    /**
     * 删除银行卡
     */
    public static final String DEL_BANK = URL_API_VERSION + "bank/del";
    /**
     * 添加银行卡
     */
    public static final String ADD_BANK = URL_API_VERSION + "bank/add";
    /**
     * 提现
     */
    public static final String GET_MONEY = URL_API_VERSION + "bank/apply";
    /**
     * 提现记录
     */
    public static final String GET_MONEY_RECORD = URL_API_VERSION + "bank/applyList";
    /**
     * 用户经纬度
     */
    public static final String GET_USER_LOCATION = URL_API_VERSION + "user/addLocation";
}
